﻿@using StackExchange.DataExplorer
@{this.SetPageTitle("Stack Exchange Data Explorer Administration - Stack Exchange Data Explorer");}
<ul>
    <li id="refreshStats"><span style="display: none;">refreshing...</span> <a href="/admin/refresh_stats">
        Update site statistics</a> (will update front page stats)</li>
    <li><a href="/admin/whitelist">whitelist</a></li>
</ul>
<script type="text/javascript">
    $(document).ready(function () {
        $("#refreshStats a").click(function () {
            $(this).hide();
            $("#refreshStats span").show();
            $.post(this.href, null, function () {
                $("#refreshStats a").show();
                $("#refreshStats span").hide();
            });
            return false;
        });
    });
</script>
